/* g++ -I include x86.cpp -L lib -llobi -lz 
 */

#include <lobi/x86cpu.h>
#include <iostream>

int main()
{
  if (x86_has_mmx()) std::cout << "MMX ";
  if (x86_has_sse()) std::cout << "SSE ";
  if (x86_has_sse2()) std::cout << "SSE2 ";
  if (x86_has_3dnow()) std::cout << "3DNow";

  std::cout << std::endl;

  return 0;
}
